<template>
    <el-input-number v-model="num" class="left-aligned" :min="1" :max="10"></el-input-number>
  </template>
  
  <script>
  export default {
    data() {
      return {
        num: 1,
      };
    },
  };
  </script>
<style scoped>
.left-aligned :deep(.el-input__inner) {
  text-align: left;
}
</style>